﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace Accounting.Common.Helpers
{
    public static class CultureHelper
    {
        public static void SetCulture(string name)
        {
            if (string.IsNullOrEmpty(name)) return;


            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo(name);
            Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
        }
    }
}
